sharepoint 2013  multilingual sites

Hi all,



I am developing a multilingual site and I wanted to show some countries list in a drop down list on the home page . So that user can select any country and redirected to that language have done with the variation labels and created variation hierarchies . 

Now the problem is how to place that drop down list Should I develop a visual web part for this or sharepoint 2013 contains any OOB for this ?

 Please suggest me the good way to do this .





Thank you in advance.



BR,

Franky  


May 21st, 2013 8:54pm

SharePoint 2013 doesnt provide language switch drop-down as what we have in SharePoint 2010. Instead, it picks up the language from Language Preferences list in user profile as screenshot below.

There is no OOTB solution that I'm aware of by today. You have to build your own solution for language switch drop-down. Anther option would be using link web part to point different site. Ex) http://sharepoint2013/en-us for U.S. English, http://sharepoint2013/ko-kr for Korean.  

Free Windows Admin Tool Kit Click here and download it now
May 21st, 2013 10:08pm

The control is named VariationsLabelMenu and resides in the 15 hive (Same as for 2010 in the 14 hive), C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\CONTROLTEMPLATES\VariationsLabelMenu.ascx

By default this control is hidden and if you are using a custom master page it might not been added to the master page. In that case you can use following markup in the master page to add this control.

<!-- Register dll -->

<%@ Register TagPrefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<!-- Add control and datasource -->

After the Div with id suiteLinksBox add below code in your master page :-

<div id="LanguageChangeControl">

<cms:VariationDataSource id="LabelMenuDataSource" LabelMenuConfiguration="1" Filter="" runat="server"/>

<PublishingWebControls:VariationsLabelEcbMenu ID="variationLabelMenu" DataSourceID="LabelMenuDataSource" DisplayText="" IsCallbackMode="true" runat="server" />

<PublishingWebControls:VariationDataSource ID="VariationDataSource1" LabelMenuConfiguration="1" Filter="" runat="server" />

</div>

After that you can have your lang dropdown like below :- 



August 31st, 2015 2:47am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics